#pragma once

#include "Common.h"
#include "Particle.h"

#define PARTICLEMANAGER_PARTICLE_COUNT_MAXIMUM	256

class ParticleManager
{
private:
	ParticleManager();
public:
	~ParticleManager();
public:
	static ParticleManager*		GetInstance();
public:
	void						Update(float elapsedTime);
	void						Draw();
private:
	static ParticleManager*		m_pInstance;
private:
	std::list<Particle*>		m_pParticles;
	std::list<Particle*>		m_pDeadParticles;
};
